package com.xiaoming.runner;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @author xiaoming
 * @Date 2020/4/23
 * @blame Android Team
 */
@Slf4j
@Component
public class BootApplicationRunner implements ApplicationRunner {

    /**
     * callback used to run the bean
     * @param args
     * @throws Exception
     */
    @Override
    public void run(ApplicationArguments args) throws Exception {
        log.info("this is BootApplicationRunner ...");
    }
}
